/*
 * @Description:
 * @Author: maxyang
 * @Date: 2022-06-05 18:05:42
 * @LastEditTime: 2022-06-06 06:59:27
 * @LastEditors: liutq
 * @Reference:
 */
package admin

import "github.com/maxyang107/jinglan/model/announcement"

var (
	AdminAnnouncementService = &AnnouncementSer{}
)

type AnnouncementSer struct{}

func (a AnnouncementSer) AddAnnouncement(param_ announcement.Announcement) error {
	return announcement.SaveAnnouncement(param_)
}

func (a AnnouncementSer) ModifyAnnouncement(param_ announcement.Announcement) error {
	return announcement.ModifyAnnouncement(param_)
}
